<template>
    <view>
        <u-swiper :list="list" indicator indicatorMode="line" circular @change="change" @click="click"></u-swiper>
    </view>
</template>
<script>
export default {
    data() {
        return {
            list: [
                "https://picsum.photos/200/300",
                "https://picsum.photos/200/400",
                "https://picsum.photos/200/500",
            ]
        }
    },
    methods: {
        change(index) {
            // console.log(index);
        },
        click(index) {
            console.log(index);
        }
    },
}
</script>